package net.zypro.sample.util;

import android.util.Log;

import net.zypro.sample.C;

/**
 * Created by mac on 15/5/12.
 */
public class LogUtils {
    public static String makeTag(Class<?> c)
    {
        return c.getName();
    }

    public static void LogE(String tag,String msg)
    {
        Log.e(tag,msg);
    }

    public static void LogD(String tag,String msg){
        if(C.Dev.debug)
            Log.d(tag,msg);
    }

    public static void LogI(String tag,String msg){
        if(C.Dev.debug)
            Log.i(tag,msg);
    }
}
